class CreateOrderBeauties < ActiveRecord::Migration
  def change
    create_table :order_beauties do |t|
      t.string :code
      t.integer :user_id
      t.integer :customer_id
      t.integer :status, :default => 0
      t.float :total
      t.string :payment_method
      t.datetime :pay_datetime
      t.text :note
      t.integer :payment_status, :default => 0
      t.float :cost
      t.text :important_note
      t.float :pay_total

      t.timestamps null: false
    end
  end
end
